package runesim.shared;
import static java.lang.System.*;
/**
 * Quick print methods. Respects configuration's "quiet mode".
 * 
 * @author Ben
 */
public class Prompt {
	
	/**
	 * Print with no line return.
	 * 
	 * @param s
	 */
	public static void print(String s) {
		if(!isQuiet())
			out.print(s);
	}
	
	/**
	 * Print with line return.
	 * 
	 * @param s
	 */
	public static void println(String s) {
		if(!isQuiet())
			out.println(s);
	}
	
	/**
	 * No text, just line return.
	 */
	public static void println() {
		if(!isQuiet())
			out.println();
	}
	
	public static boolean isQuiet() {
		return Configuration.isUsingQuietMode();
	}
}